var playerInfo:PlayerObject=this.gameObject.GetComponent("PlayerObject");
var oppPlayer:PlayerObject;


function Update () {
}


//slot Array order PlayerNum:PlayerSlot:AbilityName:ActiveOrPassive:EgoDrain:Effect:Power:Duration:Type
function ExecuteAttack(slotNum:int)
{
	curSlot=playerInfo.slots[slotNum];
	playerInfo.DecreaseEgo(curSlot[slotEnum.EgoCost]);
	
	
	
	
	
	
	
}
	